# Author：liyimei
# Time：2023/5/15 19:51
from selenium import webdriver
import time

# 实例化配置项对象
options = webdriver.ChromeOptions()
# 添加参数配置
options.add_argument(r'--user-data-dir=C:\Users\25387\AppData\Local\Google\Chrome\User Data')
# 浏览器加载配置项
driver = webdriver.Chrome(options=options)
# 访问页面
driver.get('https://mail.163.com')

time.sleep(5)